package terra.model;

import java.io.Serializable;

public class ShortCut implements Serializable
{
	private static final long serialVersionUID = 1L;
	public final static byte TYPE_ITEM = 1;
	public final static byte TYPE_SKILL = 2;
	public final static byte TYPE_ACTION = 3;
//	public final static int TYPE_MACRO = 4;

	//private final int _slot;
	//private final int _page;
	private final byte _type;
	private final int _id;
	private final int _oId;
	private final byte _level;

	public ShortCut(/*int slotId,/* int pageId, */byte shortcutType,int shortcutId,int objId, int shortcutLevel)
	{
		//_slot = slotId;
		//_page = pageId;
		_oId = objId;
		_type = shortcutType;
		_id = shortcutId;
		_level = (byte) shortcutLevel;
	}

    public int getId() {
        return _id;
    }

    public int getLevel() {
        return _level;
    }
    
    public int getType() {
        return _type;
    }

	public int getOId() {
		return _oId;
	}

    /*public int getPage()
    {
        return _page;
    }

    
    public int getSlot()
    {
        return _slot;
    }
*/

}
